package com.github.calvin.service.base;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;

/**
 * Created by Calvin.Wang on 11/25/2014.
 */
public class BaseService extends Service {
    @Override
    public IBinder onBind(Intent intent) {
        //System.out.println("Base---onBind");
        return baseServiceBinder;
    }

    private final BaseServiceBinder baseServiceBinder = new BaseServiceBinder();

    public class BaseServiceBinder extends Binder {

    }

    @Override
    public void onCreate() {
        //System.out.println("Base--->>onCreate");
        super.onCreate();
    }

    @Override
    public void onDestroy() {
        //System.out.println("Base---<<onDestroy");
        super.onDestroy();
    }
}
